cmake_minimum_required(VERSION 3.2)
add_compile_options(-std=c++11)
project( helloCMake )

message("hello cmake")

if(NOT CMAKE_BUILD_TYPE)
    set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE)
    # 可选：设置可供选择的构建类型
    set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
endif()

message(STATUS "CMAKE_BUILD_TYPE is ${CMAKE_BUILD_TYPE}")

add_subdirectory( helloWorld )
add_subdirectory( outLib )
add_subdirectory(staticLibTest)
add_subdirectory(shareLibTest)
add_subdirectory(shareLibTest2)
